package org.galio.tourcoruna;

public enum TipoLugar {
	ALL(0), MUSEO(1), MONUMENTO(2), HOTEL(3), CCOMERCIAL(4);
	
	private int num;
	
	TipoLugar (int num){
		this.num = num;
	}
	
	public int getNum(){
		return this.num;
	}
	
	public void setNum(int num){
		this.num = num;
	}
	
	public String toString(){
		switch (num) {
    	case 4:
    		return "Centro Comercial";
    	case 3:
			return "Hotel";
    	case 2:
			return "Monumento";
    	case 1:
			return "Museo";
		default:
			return "Todos";
		}
	}
}
